/**
 * @Description: props
 */
export default {
  props: {
    // 输入内容(id)
    value: {
      type: [String, Number],
      default: ''
    },
    modelValue: {
      type: [String, Number],
      default: ''
    },
    // 输入内容(label)
    inputInner: {
      type: String,
      default: ''
    },
    placeholder: {
      type: String,
      default: '请选择'
    },
    // 是否禁用（默认false）
    disabled: {
      type: Boolean,
      default: false
    },
    clearable: {
      type: Boolean,
      default: true
    },
    // 输入框头部图标
    prefixIcon: {
      type: String,
      default: ''
    },
    // 输入框尾部图标
    suffixIcon: {
      type: String,
      default: 'search'
    },
    // 过滤
    filterKey: String,
    inputKey: {
      type: String,
      required: true
    },
    inputLabel: {
      type: String,
      required: true
    },
    interface: {
      type: Function,
      required: true
    },
    defaultQuery: {
      type: Boolean,
      default: true
    },
    allowCustom: {
      type: Boolean,
      default: false
    },
    autoUpperCase: {
      type: Boolean,
      default: false
    },
    defaultPageSize: {
      type: Number,
      default: 20
    },
    defaultQueryParam: Object,
    showColumn: {
      type: Array,
      required: true
    },
    paramLimit: {
      type: String,
      default: ''
    },
    //是否使用默认的下拉列表条目布局，默认为true
    defaultItemLayout: {
      type: Boolean,
      default: true
    },
    //是否显示下拉列表条目的label，默认为true
    showItemLabel: {
      type: Boolean,
      default: true
    },
  }
}
